package com.czp.ssm.bean;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class PlaneExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PlaneExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPlaneIdIsNull() {
            addCriterion("PLANE_ID is null");
            return (Criteria) this;
        }

        public Criteria andPlaneIdIsNotNull() {
            addCriterion("PLANE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andPlaneIdEqualTo(String value) {
            addCriterion("PLANE_ID =", value, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdNotEqualTo(String value) {
            addCriterion("PLANE_ID <>", value, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdGreaterThan(String value) {
            addCriterion("PLANE_ID >", value, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdGreaterThanOrEqualTo(String value) {
            addCriterion("PLANE_ID >=", value, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdLessThan(String value) {
            addCriterion("PLANE_ID <", value, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdLessThanOrEqualTo(String value) {
            addCriterion("PLANE_ID <=", value, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdLike(String value) {
            addCriterion("PLANE_ID like", value, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdNotLike(String value) {
            addCriterion("PLANE_ID not like", value, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdIn(List<String> values) {
            addCriterion("PLANE_ID in", values, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdNotIn(List<String> values) {
            addCriterion("PLANE_ID not in", values, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdBetween(String value1, String value2) {
            addCriterion("PLANE_ID between", value1, value2, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlaneIdNotBetween(String value1, String value2) {
            addCriterion("PLANE_ID not between", value1, value2, "planeId");
            return (Criteria) this;
        }

        public Criteria andPlanePriceIsNull() {
            addCriterion("PLANE_PRICE is null");
            return (Criteria) this;
        }

        public Criteria andPlanePriceIsNotNull() {
            addCriterion("PLANE_PRICE is not null");
            return (Criteria) this;
        }

        public Criteria andPlanePriceEqualTo(BigDecimal value) {
            addCriterion("PLANE_PRICE =", value, "planePrice");
            return (Criteria) this;
        }

        public Criteria andPlanePriceNotEqualTo(BigDecimal value) {
            addCriterion("PLANE_PRICE <>", value, "planePrice");
            return (Criteria) this;
        }

        public Criteria andPlanePriceGreaterThan(BigDecimal value) {
            addCriterion("PLANE_PRICE >", value, "planePrice");
            return (Criteria) this;
        }

        public Criteria andPlanePriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("PLANE_PRICE >=", value, "planePrice");
            return (Criteria) this;
        }

        public Criteria andPlanePriceLessThan(BigDecimal value) {
            addCriterion("PLANE_PRICE <", value, "planePrice");
            return (Criteria) this;
        }

        public Criteria andPlanePriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("PLANE_PRICE <=", value, "planePrice");
            return (Criteria) this;
        }

        public Criteria andPlanePriceIn(List<BigDecimal> values) {
            addCriterion("PLANE_PRICE in", values, "planePrice");
            return (Criteria) this;
        }

        public Criteria andPlanePriceNotIn(List<BigDecimal> values) {
            addCriterion("PLANE_PRICE not in", values, "planePrice");
            return (Criteria) this;
        }

        public Criteria andPlanePriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PLANE_PRICE between", value1, value2, "planePrice");
            return (Criteria) this;
        }

        public Criteria andPlanePriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PLANE_PRICE not between", value1, value2, "planePrice");
            return (Criteria) this;
        }

        public Criteria andStartDateIsNull() {
            addCriterion("START_DATE is null");
            return (Criteria) this;
        }

        public Criteria andStartDateIsNotNull() {
            addCriterion("START_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andStartDateEqualTo(String value) {
            addCriterion("START_DATE =", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotEqualTo(String value) {
            addCriterion("START_DATE <>", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateGreaterThan(String value) {
            addCriterion("START_DATE >", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateGreaterThanOrEqualTo(String value) {
            addCriterion("START_DATE >=", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLessThan(String value) {
            addCriterion("START_DATE <", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLessThanOrEqualTo(String value) {
            addCriterion("START_DATE <=", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLike(String value) {
            addCriterion("START_DATE like", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotLike(String value) {
            addCriterion("START_DATE not like", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateIn(List<String> values) {
            addCriterion("START_DATE in", values, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotIn(List<String> values) {
            addCriterion("START_DATE not in", values, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateBetween(String value1, String value2) {
            addCriterion("START_DATE between", value1, value2, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotBetween(String value1, String value2) {
            addCriterion("START_DATE not between", value1, value2, "startDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNull() {
            addCriterion("END_DATE is null");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNotNull() {
            addCriterion("END_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andEndDateEqualTo(String value) {
            addCriterion("END_DATE =", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotEqualTo(String value) {
            addCriterion("END_DATE <>", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThan(String value) {
            addCriterion("END_DATE >", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThanOrEqualTo(String value) {
            addCriterion("END_DATE >=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThan(String value) {
            addCriterion("END_DATE <", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThanOrEqualTo(String value) {
            addCriterion("END_DATE <=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLike(String value) {
            addCriterion("END_DATE like", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotLike(String value) {
            addCriterion("END_DATE not like", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIn(List<String> values) {
            addCriterion("END_DATE in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotIn(List<String> values) {
            addCriterion("END_DATE not in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateBetween(String value1, String value2) {
            addCriterion("END_DATE between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotBetween(String value1, String value2) {
            addCriterion("END_DATE not between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameIsNull() {
            addCriterion("START_AIRPORT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameIsNotNull() {
            addCriterion("START_AIRPORT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameEqualTo(String value) {
            addCriterion("START_AIRPORT_NAME =", value, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameNotEqualTo(String value) {
            addCriterion("START_AIRPORT_NAME <>", value, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameGreaterThan(String value) {
            addCriterion("START_AIRPORT_NAME >", value, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameGreaterThanOrEqualTo(String value) {
            addCriterion("START_AIRPORT_NAME >=", value, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameLessThan(String value) {
            addCriterion("START_AIRPORT_NAME <", value, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameLessThanOrEqualTo(String value) {
            addCriterion("START_AIRPORT_NAME <=", value, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameLike(String value) {
            addCriterion("START_AIRPORT_NAME like", value, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameNotLike(String value) {
            addCriterion("START_AIRPORT_NAME not like", value, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameIn(List<String> values) {
            addCriterion("START_AIRPORT_NAME in", values, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameNotIn(List<String> values) {
            addCriterion("START_AIRPORT_NAME not in", values, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameBetween(String value1, String value2) {
            addCriterion("START_AIRPORT_NAME between", value1, value2, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andStartAirportNameNotBetween(String value1, String value2) {
            addCriterion("START_AIRPORT_NAME not between", value1, value2, "startAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameIsNull() {
            addCriterion("END_AIRPORT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameIsNotNull() {
            addCriterion("END_AIRPORT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameEqualTo(String value) {
            addCriterion("END_AIRPORT_NAME =", value, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameNotEqualTo(String value) {
            addCriterion("END_AIRPORT_NAME <>", value, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameGreaterThan(String value) {
            addCriterion("END_AIRPORT_NAME >", value, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameGreaterThanOrEqualTo(String value) {
            addCriterion("END_AIRPORT_NAME >=", value, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameLessThan(String value) {
            addCriterion("END_AIRPORT_NAME <", value, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameLessThanOrEqualTo(String value) {
            addCriterion("END_AIRPORT_NAME <=", value, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameLike(String value) {
            addCriterion("END_AIRPORT_NAME like", value, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameNotLike(String value) {
            addCriterion("END_AIRPORT_NAME not like", value, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameIn(List<String> values) {
            addCriterion("END_AIRPORT_NAME in", values, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameNotIn(List<String> values) {
            addCriterion("END_AIRPORT_NAME not in", values, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameBetween(String value1, String value2) {
            addCriterion("END_AIRPORT_NAME between", value1, value2, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andEndAirportNameNotBetween(String value1, String value2) {
            addCriterion("END_AIRPORT_NAME not between", value1, value2, "endAirportName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameIsNull() {
            addCriterion("START_CITY_NAME is null");
            return (Criteria) this;
        }

        public Criteria andStartCityNameIsNotNull() {
            addCriterion("START_CITY_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andStartCityNameEqualTo(String value) {
            addCriterion("START_CITY_NAME =", value, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameNotEqualTo(String value) {
            addCriterion("START_CITY_NAME <>", value, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameGreaterThan(String value) {
            addCriterion("START_CITY_NAME >", value, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameGreaterThanOrEqualTo(String value) {
            addCriterion("START_CITY_NAME >=", value, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameLessThan(String value) {
            addCriterion("START_CITY_NAME <", value, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameLessThanOrEqualTo(String value) {
            addCriterion("START_CITY_NAME <=", value, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameLike(String value) {
            addCriterion("START_CITY_NAME like", value, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameNotLike(String value) {
            addCriterion("START_CITY_NAME not like", value, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameIn(List<String> values) {
            addCriterion("START_CITY_NAME in", values, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameNotIn(List<String> values) {
            addCriterion("START_CITY_NAME not in", values, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameBetween(String value1, String value2) {
            addCriterion("START_CITY_NAME between", value1, value2, "startCityName");
            return (Criteria) this;
        }

        public Criteria andStartCityNameNotBetween(String value1, String value2) {
            addCriterion("START_CITY_NAME not between", value1, value2, "startCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameIsNull() {
            addCriterion("END_CITY_NAME is null");
            return (Criteria) this;
        }

        public Criteria andEndCityNameIsNotNull() {
            addCriterion("END_CITY_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andEndCityNameEqualTo(String value) {
            addCriterion("END_CITY_NAME =", value, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameNotEqualTo(String value) {
            addCriterion("END_CITY_NAME <>", value, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameGreaterThan(String value) {
            addCriterion("END_CITY_NAME >", value, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameGreaterThanOrEqualTo(String value) {
            addCriterion("END_CITY_NAME >=", value, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameLessThan(String value) {
            addCriterion("END_CITY_NAME <", value, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameLessThanOrEqualTo(String value) {
            addCriterion("END_CITY_NAME <=", value, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameLike(String value) {
            addCriterion("END_CITY_NAME like", value, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameNotLike(String value) {
            addCriterion("END_CITY_NAME not like", value, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameIn(List<String> values) {
            addCriterion("END_CITY_NAME in", values, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameNotIn(List<String> values) {
            addCriterion("END_CITY_NAME not in", values, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameBetween(String value1, String value2) {
            addCriterion("END_CITY_NAME between", value1, value2, "endCityName");
            return (Criteria) this;
        }

        public Criteria andEndCityNameNotBetween(String value1, String value2) {
            addCriterion("END_CITY_NAME not between", value1, value2, "endCityName");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionIsNull() {
            addCriterion("AIRCRAFT_POSITION is null");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionIsNotNull() {
            addCriterion("AIRCRAFT_POSITION is not null");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionEqualTo(String value) {
            addCriterion("AIRCRAFT_POSITION =", value, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionNotEqualTo(String value) {
            addCriterion("AIRCRAFT_POSITION <>", value, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionGreaterThan(String value) {
            addCriterion("AIRCRAFT_POSITION >", value, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionGreaterThanOrEqualTo(String value) {
            addCriterion("AIRCRAFT_POSITION >=", value, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionLessThan(String value) {
            addCriterion("AIRCRAFT_POSITION <", value, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionLessThanOrEqualTo(String value) {
            addCriterion("AIRCRAFT_POSITION <=", value, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionLike(String value) {
            addCriterion("AIRCRAFT_POSITION like", value, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionNotLike(String value) {
            addCriterion("AIRCRAFT_POSITION not like", value, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionIn(List<String> values) {
            addCriterion("AIRCRAFT_POSITION in", values, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionNotIn(List<String> values) {
            addCriterion("AIRCRAFT_POSITION not in", values, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionBetween(String value1, String value2) {
            addCriterion("AIRCRAFT_POSITION between", value1, value2, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andAircraftPositionNotBetween(String value1, String value2) {
            addCriterion("AIRCRAFT_POSITION not between", value1, value2, "aircraftPosition");
            return (Criteria) this;
        }

        public Criteria andStockIsNull() {
            addCriterion("STOCK is null");
            return (Criteria) this;
        }

        public Criteria andStockIsNotNull() {
            addCriterion("STOCK is not null");
            return (Criteria) this;
        }

        public Criteria andStockEqualTo(Long value) {
            addCriterion("STOCK =", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockNotEqualTo(Long value) {
            addCriterion("STOCK <>", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockGreaterThan(Long value) {
            addCriterion("STOCK >", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockGreaterThanOrEqualTo(Long value) {
            addCriterion("STOCK >=", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockLessThan(Long value) {
            addCriterion("STOCK <", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockLessThanOrEqualTo(Long value) {
            addCriterion("STOCK <=", value, "stock");
            return (Criteria) this;
        }

        public Criteria andStockIn(List<Long> values) {
            addCriterion("STOCK in", values, "stock");
            return (Criteria) this;
        }

        public Criteria andStockNotIn(List<Long> values) {
            addCriterion("STOCK not in", values, "stock");
            return (Criteria) this;
        }

        public Criteria andStockBetween(Long value1, Long value2) {
            addCriterion("STOCK between", value1, value2, "stock");
            return (Criteria) this;
        }

        public Criteria andStockNotBetween(Long value1, Long value2) {
            addCriterion("STOCK not between", value1, value2, "stock");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberIsNull() {
            addCriterion("PLANE_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberIsNotNull() {
            addCriterion("PLANE_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberEqualTo(String value) {
            addCriterion("PLANE_NUMBER =", value, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberNotEqualTo(String value) {
            addCriterion("PLANE_NUMBER <>", value, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberGreaterThan(String value) {
            addCriterion("PLANE_NUMBER >", value, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberGreaterThanOrEqualTo(String value) {
            addCriterion("PLANE_NUMBER >=", value, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberLessThan(String value) {
            addCriterion("PLANE_NUMBER <", value, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberLessThanOrEqualTo(String value) {
            addCriterion("PLANE_NUMBER <=", value, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberLike(String value) {
            addCriterion("PLANE_NUMBER like", value, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberNotLike(String value) {
            addCriterion("PLANE_NUMBER not like", value, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberIn(List<String> values) {
            addCriterion("PLANE_NUMBER in", values, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberNotIn(List<String> values) {
            addCriterion("PLANE_NUMBER not in", values, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberBetween(String value1, String value2) {
            addCriterion("PLANE_NUMBER between", value1, value2, "planeNumber");
            return (Criteria) this;
        }

        public Criteria andPlaneNumberNotBetween(String value1, String value2) {
            addCriterion("PLANE_NUMBER not between", value1, value2, "planeNumber");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}